/**
 * 版权所有：厦门市巨龙信息科技有限公司
 * Copyright 2023 Xiamen Dragoninfo Eng. Co. Ltd.
 * All right reserved.
 */
package com.github.alfred.database.enums;


/**
 * 类说明
 *
 *  数据库产商枚举
 *
 * @author chengh
 * @date 2023/9/19 11:42
 */
public enum DBVendorType  {

    /**
     *
     */
    MYSQL("MySQL","mysql"),

    ORACLE("Oracle","oracle"),

    DM("DM","dm"),

    POSTGRE_SQL("PostgreSQL","postgresql"),

    DB2("DB2","db2");

    /**
     *  DatabaseMetaData getDatabaseProductName
     *  产品名称
     */
    private final String value;
    /**
     * jdbc url中标识数据库类型
     */
    private final String label;

    DBVendorType(String value, String label) {
        this.value = value;
        this.label = label;
    }

    public String getValue() {
        return value;
    }

    public String getLabel() {
        return label;
    }
}
